package com.shangcheng.model.domain;

import lombok.Data;
import org.springframework.data.annotation.Id;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class PmsSkuStock implements Serializable {
    @Id
    private Long id;
    private Long productId;
    private String skuCode; //sku编码
    private BigDecimal price;
    private Integer stock; //库存
    private Integer lowStock; //预警库存
    private String pic; //展示图片
    private Integer sale; //销量
    private BigDecimal promotionPrice; //单品促销价格
    private Integer lockStock; //锁定库存
    private String spData; //商品销售属性，json格式
}
